package com.zbkj.service.service;

import com.zbkj.common.model.member.UserElectronicInvoiceConfig;

import java.util.List;

public interface UserElectronicInvoiceConfigService {
    /**
     * 新增(修改)用户发票设置
     *
     * @param userElectronicInvoiceConfig
     * @return
     */
    UserElectronicInvoiceConfig add(UserElectronicInvoiceConfig userElectronicInvoiceConfig);

    /**
     * 设置默认发票
     *
     * @param id
     * @return
     */
    Integer setStatus(Integer id);

    /**
     * 获取指定发票信息
     *
     * @param id
     * @return
     */
    UserElectronicInvoiceConfig get(Integer id);

    /**
     * 获取默认发票信息
     *
     * @return
     */
    UserElectronicInvoiceConfig getDefault();

    /**
     * 获取用户发票设置列表
     *
     * @param userElectronicInvoiceConfig
     * @return
     */
    List<UserElectronicInvoiceConfig> getList(UserElectronicInvoiceConfig userElectronicInvoiceConfig);

    /**
     * 修改用户发票设置
     * @param userElectronicInvoiceConfig
     * @return
     */
    UserElectronicInvoiceConfig set(UserElectronicInvoiceConfig userElectronicInvoiceConfig);
}
